package com.lxk.finance.domain.bo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;

import java.math.BigDecimal;

/**
 * @author heyi
 * 2024/7/9
 */
@Data
public class AccUserAccountUpdateBo {

    /**
     * 账户类型account_type
     */
    @NotNull(message = "账户类型account_type不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer accountType;

    /**
     * 余额
     */
    @NotNull(message = "余额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal amount;
}
